var queries = acre.require("queries.sjs");

var name = acre.request.params.name;
var vocab = queries.category(name);

acre.async.wait_on_results();

acre.write(JSON.stringify(vocab, null, 2));
acre.exit();